package com.lin.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan({"com.lin.mapper", "com.lin.service", "com.lin.init", "com.lin.interceptor"})
@MapperScan("com.lin.mapper")
@PropertySource("classpath:db.properties")
@Import({JdbcConfig.class, TransactionConfig.class, MyBatisConfig.class, SpringMVCConfig.class})
@EnableTransactionManagement
public class SpringConfig {
}
